package cn.jd.product.service;

import cn.jd.org.domain.Employee;
import cn.jd.product.domain.Product;
import cn.jd.basic.service.BasicService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jd
 * @since 2022-10-31
 */
public interface IProductService extends BasicService<Product> {

    void onsale(List<Long> ids,Employee employee);

    void offsale(List<Long> ids, Employee employee);

    Product getProductDetail(Long id);

    void purchase(Long id, Employee employee);
}
